package com.payment.web.service;

import com.payment.web.model.domain.PdfDomain;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(com.payment.web.service.Constant.APPLICATION_NAME)
public interface ConvertPdfService {

    @PostMapping(value = "toPdf")
    String toPdf(@RequestBody PdfDomain req);
}
